<!--
 * @Author: your name
 * @Date: 2019-12-16 12:00:30
 * @LastEditTime: 2020-08-11 14:44:57
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /mimall/src/components/NaviFooter.vue
 -->
<template>
  <div class="footer">
    <div class="container">
      <div class="footer-box">
        <div class="footer-left footer-item">
          <h3>联系我们/CONCAT</h3>
          <p>联系电话: {{companyInfo.mobile || ''}}</p>
          <p>QQ客服1: {{companyInfo.mobileQQ1 || ''}}</p>
          <p>QQ客服2: {{companyInfo.mobileQQ2 || ''}}</p>
          <p>电子邮箱: {{companyInfo.advisory || ''}}</p>
          <p>办公地址: {{companyInfo.address || ''}}</p>
        </div>
        <div class="footer-middle footer-item">
          <h3>友情链接</h3>
          <div class="link">
            <a href="">暂无链接</a> 
          </div>
        </div>
        <div class="footer-right footer-item">
          <p>
            <img src="/images/dilogo.png" alt="">
          </p>
          <p>copyright@2016 {{companyInfo.name}}</p>
          <p>
            联系电话: {{companyInfo.phone}}
          </p>
          <p>陕ICP备 u394394y2394y329</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'nav-footer',
  props: {
    companyInfo: {
      type: Object,
      default: () => {}
    }
  }
}
</script>

<style lang="scss">
  .footer{
    border-top: 4px solid #ff6600;
    padding: 30px 0;
    background-color: #333;
    color: #999;
    text-align: center;
    
    .footer-box{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      h3{
        font-weight: normal;
        color: #fff;
        font-size: 15px;
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
        margin-bottom: 10px;
        text-align: center;
      }
      p{
        font-size: 14px;
        color: #fff;
        margin-bottom: 10px;
      }
      .footer-item{
        width: 25%;
      }
      .footer-left{
        display: flex;
        flex-direction: column;
        p{
          display: flex;
        }
      }
      .footer-middle{
        .link{
          display: flex;
          flex-wrap: wrap;
          a{
            color: #fff;
            font-size: 13px;
            text-decoration: dashed;
            margin: 5px 10px;
          }
        }
      }
    }
  }
</style>